package com.ggs.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class User {

  private Long id;
  private String username;
  @JsonIgnore // 转json自动忽略该字符串
  private String password;
  private String nickname;
  private String email;
  private String userPic;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;
}
